package com.infosys.newSimpleInvertedIndex.entities;

import java.io.Serializable;
import java.util.UUID;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tester
 * @since 2024-06-24
 */
@Data
@Getter
@Setter
public class Resume implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    @TableField("employee_id")
    private String employeeId;

    private String resumeUrl;

    public Resume() {
        this.id = UUID.randomUUID().toString();
    }

    public Resume(String employeeId, String resumeUrl){
        this.id = UUID.randomUUID().toString();
        this.employeeId = employeeId;
        this.resumeUrl = resumeUrl;
    }
}
